
// PaneView.h : interface of the CPaneView class

class CinfDoc;

class CPaneView : public CView
{
public:
 static const UINT m_colwidth = 100;
 static UINT getWidth(CFrameWnd * pWnd, int );

 // Construction
protected: // create from serialization only
	CPaneView();
	CinfDoc* GetDocument();
	DECLARE_DYNCREATE(CPaneView)

public:	// Attributes
	CMFCPropertyGridCtrl *	m_pPropList;

public:	// Operations
	void appendLine(DWORD_PTR );
	CMFCPropertyGridProperty * innerCopy();

// Overrides
public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate(); // called first time after construct
	virtual void OnDraw(CDC* pDC) { };  // overridden to draw this view

// Implementation
public:
	virtual ~CPaneView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

// Generated message map functions
protected:
	afx_msg int  OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnEditCopy();
	afx_msg void OnEditRemove();
	afx_msg void OnUpdateEditSel(CCmdUI *pCmdUI);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnContextMenu(CWnd* /*pWnd*/, CPoint /*point*/);
	afx_msg LRESULT OnNextLineDDE(WPARAM wParam, LPARAM lParam);
	afx_msg void OnIdleUpdateCmdUI(void);
	afx_msg void OnSetFocus(CWnd* pOldWnd);

	DECLARE_MESSAGE_MAP()

};

#ifndef _DEBUG  // debug version in PaneView.cpp
inline CinfDoc* CPaneView::GetDocument()
   { return reinterpret_cast<CinfDoc*>(m_pDocument); }
#endif
